/*---------------------------------------------------------
    ev_derma.lua - derma crap
	by Lead4u
---------------------------------------------------------*/
local door = { "func_door_rotating", "prop_door_rotating", "func_door" }

function recieve_door( um )
	local id = um:ReadShort()
	local ply = um:ReadString()
	
	evorp.doors[id] = {};
	evorp.doors[id].name = ply;
	evorp.doors[id].id = id;
end

usermessage.Hook("ev_door" , recieve_door);

/*---------------------------------------------------------
    Request Door Ownership
---------------------------------------------------------*/	

